from importQT import *
from Class.VoltSignal import dataBase

# deviceType = "ONH"
# dataBase.initType(0, False)
# from Class.ONH import onh as device
# import UI.Resources.resONH_rc
# from UIONH.Ui_FilterONH import Ui_Filter
# from UIONH.Report import Ui_Report
# from UIONH.MultiPointCalibration import Ui_MultiPointCalibration
# from UIONH.MultiBaseCalibration import Ui_MultiBaseCalibration
# E1 = "LO"
# E2 = "HO"
# E3 ="N"
# E4 ="H"
# color1 = (255, 128, 0)
# color2 = (255, 0, 255)
# color3 = (0, 128, 0)
# color4 = (0, 0, 255)
# def getIcon():
#     icon = QtGui.QIcon()
#     icon.addPixmap(QtGui.QPixmap(":/pic/iconONH.ico"), QtGui.QIcon.Normal, QtGui.QIcon.On)
#     return icon

deviceType = "CS"
dataBase.initType(0, True)
import UI.Resources.res_rc
from Class.cs598 import cs_598 as device
from UI.Ui_Filter import Ui_Filter
from UI.Report import Ui_Report
from UI.MultiPointCalibration import Ui_MultiPointCalibration
from UI.MultiBaseCalibration import Ui_MultiBaseCalibration
import UI as UIs
E1 = "LC"
E2 = "HC"
E3 ="LS"
E4 ="HS"
color1 = (128, 0, 0)
color2 = (30, 144, 255)
color3 = (255, 0, 255)
color4 = (255, 0, 0)
def getIcon():
    icon = QtGui.QIcon()
    icon.addPixmap(QtGui.QPixmap(":/pic/icon.ico"), QtGui.QIcon.Normal, QtGui.QIcon.On)
    return icon
